//
//  ClassifyToolBarsView.m
//  JinMaJiaDemo
//
//  Created by GripMeMory on 15/10/26.
//  Copyright © 2015年 GripMeMory. All rights reserved.
//

#import "ClassifyToolBarsView.h"

@implementation ClassifyToolBarsView

{
    UITapGestureRecognizer *tap;
}

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.frame = CGRectMake(frame.origin.x, frame.origin.y, frame.size.width, frame.size.height - 1);
        self.backgroundColor = [UIColor whiteColor];
    }
    return self;
}

- (id)initWithButtonList:(NSArray *)list{
    self = [super init];
    if (self) {
        self.buttonList = [NSMutableArray arrayWithCapacity:10];
        self.buttonList = [list copy];
        
    }
    return self;
}

@end
